public class Bicycle {

	// *State information for bicycle.
	/*
	 * color,model,name,reg.no.,
	 */
	String make;
	String color;
	String registrationNumer;
	String model;
	int numberOfWheels;
	int numberofPeople;
	boolean hasStarted;
	boolean hasGear;
	int currentSpeed;
	int maximumSpeed;
	int gearLevel;

	void displayInfo() {

		System.out.println("The make of the Bike is = " + make);
		System.out.println("the color is = " + color);
		System.out.println("the model is = " + model);

	}

	void bicycleStyle() {

		if (hasGear) {

			System.out.println("the bike has gears");

		} else {
			System.out.println("the bike is gearless bike");

		}

	}

	int accelerate(int byHowMuch) {

		currentSpeed = currentSpeed + byHowMuch;
		return currentSpeed;

	}

	void bicycleInfo() {

		if (hasStarted) {
			String bicycleInfo = "";

			switch (bicycleInfo) {

			case "A":

				bicycleInfo = "currentSpeed";
				break;
			case "B":
				bicycleInfo = "maximumSpeed";
				break;

			case "C":
				bicycleInfo = "numberOfPeople";
				break;
			case "D":
				bicycleInfo = "numberOfLightsOn";
				break;
			case "E":
				bicycleInfo = "sound";
				break;
			case "F":
				bicycleInfo = "numberOfGearsUsed";
				break;

			default:
				break;

			}
			System.out.println(bicycleInfo);

		} else {
			System.out.println("bicycle is not started or at the parkinglot.");
		}

	}

	boolean isMaximumSpeed(int currentSpeed) {
		if (hasStarted && currentSpeed == 160) {
			System.out.println("this is the maximums speed of the bicycle");

		}
		return true;

	}

}
